package com.ruoyi.project.channel.channelAccountGroup.mapper;

import com.ruoyi.project.channel.channelAccountGroup.domain.ChannelAccountGroup;
import java.util.List;	

/**
 * 账号分组 数据层
 * 
 * @author CAIN
 * @date 2019-09-17
 */
public interface ChannelAccountGroupMapper 
{
	/**
     * 查询账号分组信息
     * 
     * @param groupId 账号分组ID
     * @return 账号分组信息
     */
	public ChannelAccountGroup selectChannelAccountGroupById(Long groupId);
	
	/**
     * 查询账号分组列表
     * 
     * @param channelAccountGroup 账号分组信息
     * @return 账号分组集合
     */
	public List<ChannelAccountGroup> selectChannelAccountGroupList(ChannelAccountGroup channelAccountGroup);
	
	/**
     * 新增账号分组
     * 
     * @param channelAccountGroup 账号分组信息
     * @return 结果
     */
	public int insertChannelAccountGroup(ChannelAccountGroup channelAccountGroup);
	
	/**
     * 修改账号分组
     * 
     * @param channelAccountGroup 账号分组信息
     * @return 结果
     */
	public int updateChannelAccountGroup(ChannelAccountGroup channelAccountGroup);
	
	/**
     * 删除账号分组
     * 
     * @param groupId 账号分组ID
     * @return 结果
     */
	public int deleteChannelAccountGroupById(Long groupId);
	
	/**
     * 批量删除账号分组
     * 
     * @param groupIds 需要删除的数据ID
     * @return 结果
     */
	public int deleteChannelAccountGroupByIds(String[] groupIds);
	
}